Code
superscript and subscript demo
X
2
+ Y
2
H
2
O
Output